package com.lmb.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Families {
    private Integer family_id;          // 家庭ID
    private Integer householder_id;     // 户主ID
    private String family_code;         // 家庭编号
    private String address;            // 详细住址
    private String household_type;      // 户籍类型
    private Integer total_members;      // 家庭成员总数
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date create_time;           // 创建时间
}
